package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Positioninfo entity. @author MyEclipse Persistence Tools
 */

public class Positioninfo  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Departmentinfo departmentinfo;
     private String name;
     private Set userinfos = new HashSet(0);


    // Constructors

    /** default constructor */
    public Positioninfo() {
    }

    
    /** full constructor */
    public Positioninfo(Departmentinfo departmentinfo, String name, Set userinfos) {
        this.departmentinfo = departmentinfo;
        this.name = name;
        this.userinfos = userinfos;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Departmentinfo getDepartmentinfo() {
        return this.departmentinfo;
    }
    
    public void setDepartmentinfo(Departmentinfo departmentinfo) {
        this.departmentinfo = departmentinfo;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getUserinfos() {
        return this.userinfos;
    }
    
    public void setUserinfos(Set userinfos) {
        this.userinfos = userinfos;
    }
   








}